package com.csaba.connector.model;

import java.util.Locale;

public class Country
{
	public static final Country HUNGARY = new Country("HU", "Magyarország"); //$NON-NLS-1$ //$NON-NLS-2$

	private String id;
	private String name;

	public Country()
	{
		final Locale def = Locale.getDefault();
		id = def.getCountry();
		name = def.getDisplayCountry();
	}

	private Country( final String id, final String name )
	{
		this.id = id;
		this.name = name;
	}

	public String getId()
	{
		return id;
	}

	public void setId( final String id )
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName( final String name )
	{
		this.name = name;
	}

}
